package com.show.antenna.mapper;

import com.show.antenna.bean.ApprovalEntity;
import com.show.antenna.bean.RasterEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ApprovalMapper {

    /**
     * 更新影像申请状态
     */
    void updataApprovalInfo(ApprovalEntity approvalEntity);

    /**
     * 新增影像申请
     */
    void addApprovalInfo(ApprovalEntity approvalEntity);

    /**
     * 获取影像申请状态
     */
    List<ApprovalEntity> getApprovalInfo();

    /**
     * 获取影像申请状态
     */
    List<ApprovalEntity> getApprovalInfoByUser(ApprovalEntity approvalEntity);

    /**
     * 获取影像订购单是否已创建
     */
    List<ApprovalEntity> getApprovalInfoByInfo(ApprovalEntity approvalEntity);


}
